<template>
  <div class="pro-list">
    <h3>周一周四·新品首发</h3>
    <ul>
      <li v-for="item in GoodsListdata" :key="item.id">
        <img :src="item.list_pic_url" alt="" />
        <h4>{{ item.name }}</h4>
        <p>￥&nbsp;&nbsp;{{ item.retail_price }}&nbsp;&nbsp;元</p>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["GoodsListdata"],
};
</script>
 
<style lang = "less" scoped>
.pro-list {
  width: 100%;
  background: #fff;
  padding-bottom: 0.2rem;
  text-align: center;
  margin-top: 0.2rem;
  h3 {
    font-size: 20px;
    line-height: 50px;
  }
  ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    li {
      width: 49%;
      height: 2.17rem;
      /* background-color: pink; */
      font-size: 14px;
      padding-bottom: 0.2rem;
      img {
        display: block;
        width: 100%;
      }
      p {
        margin-top: 0.1rem;
        color: red;
      }
    }
  }
}
</style>